
from .models import *
from xadmin import site
# Register your models here.


class OrderAdmin(object):
    """Order Admin"""
    list_display = ("no", "amount", "payment_method", "status", "buyer_user")
site.register(Order, OrderAdmin)


class PaymentAdmin(object):
    list_display = ('ptype', 'order', 'payment_method', 'status', 'settlement_total_fee', 'order_amount')
site.register(Payment, PaymentAdmin)

